]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
autorunManager: Add missing await keyword
authorBalló György <ballogyor@gmail.com>
Fri, 21 Apr 2023 08:02:16 +0000 (08:02 +0000)
committerMarge Bot <marge-bot@gnome.org>
Fri, 21 Apr 2023 12:59:55 +0000 (12:59 +0000)
This fixes a regression introduced in commit c6861c0a3d3db3b3f4343e38b08b48d18803b2fe

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2745>

js/ui/components/autorunManager.js

index 4a55a3a2a84d17c2295e15dee688862efb9daa44..b02474a1f06b48098dcb33b7cce8be9ef5dd71eb 100644 (file)
@@ -102,7 +102,7 @@ var ContentTypeDiscoverer = class {
             if (contentTypes.length === 0) {
                 const root = mount.get_root();
                 const hotplugSniffer = new HotplugSniffer();
-                [contentTypes] = hotplugSniffer.SniffURIAsync(root.get_uri());
+                [contentTypes] = await hotplugSniffer.SniffURIAsync(root.get_uri());
             }
         }